package com.taotao.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.taotao.mapper.TbItemMapper;
import com.taotao.pojo.TbItem;
import com.taotao.service.ItemService;

/**
 * 商品管理Service
 * <p>Title: ItemServiceImpl</p>
 * <p>Description: </p>
 * <p>Company: www.itcast.com</p>
 * @author	康世行
 * @date	2021年7月31日08:19:56
 * @version 1.0
 */
@Service
public class ItemServiceImpl implements ItemService {

	@Autowired
	private TbItemMapper itemMapper;



	@Override
	public TbItem getItemById(long itemId) {
		System.out.println("进入sercicegetItemById方法00selectByprimaryke前");
		TbItem item = itemMapper.selectByPrimaryKey(itemId);
		System.out.println("进入sercicegetItemById方法00selectByprimaryke后");
		return item;
	}



}
